/**
 * Copyright (C), 2015-2019, XXX有限公司
 * FileName: LoggerInterceptorHandler
 * Author:   Administrator
 * Date:     2019/12/20 23:15
 * Description:
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package com.lumeng.spring.common.handler;

/**
 * 功能描述:
 * <>
 *
 * @program: etc_issue
 * @ClassName: LoggerInterceptorHandler
 * @author: wanghui
 * @date: 2019/12/20 23:15
 * @Version: 1.0.0
 *
 * @Copyright: 2019 Inc. All rights reserved. 注意: 本内容仅限于内部传阅,禁止外泄以及用于其他的商业目
 */
public interface LoggerInterceptorHandler {
    /**
     * 日志输入的实现类
     */
    String LOGGER_ADDRESS="com.lumeng.spring.common.handler.InterceptorHandler";

    void interptBefore(Long traceId, String remoteIp, String localIp, String description, String targetName, String methodName, Object args);

    void interceptPost(Long traceId, String remoteIp, String localIp, String description, String targetName, String methodName, Object result);

    void interptThrowing(Long traceId, String remoteIp, String localIp, String description, String targetName, String methodName, Throwable ex);

    void interptFinally(Long traceId, String remoteIp, String localIp, String description, String targetName, String methodName, long startTime);
}
